﻿<%@ Page Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="requestpw.aspx.cs"
    Inherits="SLIITPro.PasswordRecover.Requestpw" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceHolder" runat="server">
    <div align="center">
        <table style="width: 40%">
            <tr>
                <td>
                    Enter Username (Email address)
                </td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="droplist" ValidationGroup="Recover"
                        Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEmail"
                        Display="None" ErrorMessage="User Name Required &lt;br/&gt; &lt;b&gt;Enter your provided email address&lt;/b&gt;"
                        ValidationGroup="Recover"></asp:RequiredFieldValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="HighLightTextValue"
                        TargetControlID="RequiredFieldValidator1">
                    </cc1:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator ID="RegExprValidator1" runat="server" ControlToValidate="txtEmail"
                        Display="None" ErrorMessage="&lt;b&gt;Invalid Field&lt;/b&gt;&lt;br /&gt;Please enter a Email address in the format:&lt;br /&gt;name@yourdomian.com"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="Recover"></asp:RegularExpressionValidator>
                    <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" HighlightCssClass="HighLightTextValue"
                        TargetControlID="RegExprValidator1">
                    </cc1:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                    <asp:HyperLink ID="HypLoginURL" runat="server" NavigateUrl="~/Default.aspx" Visible="False">Click 
                            here to login again</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div class="buttondiv">
                        <asp:Button ID="btnSubmit" runat="server" CssClass="cssbutton" OnClick="btnSubmit_Click"
                            Text="Submit" ValidationGroup="Recover" Width="75px" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
